package com.txhjava.service;

import com.txhjava.mapper.UserMapper;
import com.txhjava.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Title:
 * @Author: Mamba
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService{

@Autowired
private UserMapper userMapper;

    @Override
    public List<User> findUsers() {
        List<User> users = userMapper.findUsers();
        return users;
    }
}
